• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • IFSPOP–Another (And A Better) IFS Interface

    August 7, 2013 Hey, Ted

    Note: The code accompanying this article is available for download here.

    I read your article, Another IFS Interface, and I agree with you that IBM‘s green-screen solutions leave a lot to be desired. I got so fed up with WRKLNK, and the even more obtuse WRKFLR, that I wrote my own solution. It’s nothing fancy, but it is a lot better than what exists. It’s a green-screen solution written in RPG.

    I modeled it after POP, one of my favorite tools, from the System/36 days. The idea, like POP of old, is that if there is something you want to do with an IFS object, you could write your own code to be included in IFSPOP. I have found it to be useful in that I don’t have to flip over to System i Navigator in order to poke around in the IFS.

    The main program, IFSPOPR, is a simple load-all subfile that can handle up to 9999 entries. (I should update it, but work keeps getting in the way. I wrote IFSPOP on a budget of zero dollars in my spare time.)

    Since it is extendable, I ask anyone who develops an additional option to IFSPOP to send it to you to for “re-distribution.” That could help make it more popular and usable.

    Most of the options I wrote for IFSPOP just do the basics and are good as examples on how to write extension programs. Since I am not very good at dealing with the IFS, I’m sure someone else can improve on these programs. The printing function is the one program that really shows what can be done with IFSPOP.

    Attached is a save file for version 6.1. The source is also included in the library. To run, add library IPSPOP to the library list and enter the command IFSPOP.

    –Mark Keck

    I remember POP. It was a big help to me on the S/36, and what’s more, it was cheap. It had to be, because I was working for a small private college in those days and we didn’t have any money.

    Here’s an example of the IFSPOP screen:

    Figure 1

    (Click graphic to enlarge.)

    I have enjoyed using IFSPOP in my shop. I was intrigued that I could add my own user options. I’ll use option OD (hexadecimal dump) to illustrate how that’s done.

    Write a program called IFSPOPSOD to run the OD function.

    H DEBUG OPTION(*SRCSTMT:*NODEBUGIO) DFTACTGRP(*YES)
     *__________________________________________________
     *
    D FILENAME        S            376
    D CMD             S            512
    D CMDLEN          S             15P 5
     *_________________________________________________
     *
    C     *ENTRY        PLIST
    C                   PARM                    FILENAME
     *
    C                   EVAL      CMD = 'QSH CMD(''od -t
     cx ''''' +
    C                             %trim(filename) +
    C                             ''''' | Rfile -w /
    qsys.lib/qsysprt.file'')'
    C                   EVAL      CMDLEN = %len(%trim(CMD))
    C                   CALL(E)   'QCMDEXC'
    C                   PARM                    CMD
    C                   PARM                    CMDLEN
     *
    C                   EVAL      *INLR = *ON
    

    Add option OD, with a description of Hex dump, to database table (physical file) IFSPOPRO. IFSPOP reads this file to build the legend of options.

    Many thanks to Mark Keck for the IFSPOP utility.

    RELATED STORY

    Another IFS Interface



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    VISUAL LANSA 16 WEBINAR

    Trying to balance stability and agility in your IBM i environment?

    Join this webinar and explore Visual LANSA 16 – our enhanced professional low-code platform designed to help organizations running on IBM i evolve seamlessly for what’s next.

    🎙️VISUAL LANSA 16 WEBINAR

    Break Monolithic IBM i Applications and Unlock New Value

    Explore modernization without rewriting. Decouple monolithic applications and extend their value through integration with modern services, web frameworks, and cloud technologies.

    🗓️ July 10, 2025

    ⏰ 9 AM – 10 AM CDT (4 PM to 5 PM CEST)

    See the webinar schedule in your time zone

    Register to join the webinar now

    What to Expect

    • Get to know Visual LANSA 16, its core features, latest enhancements, and use cases
    • Understand how you can transition to a MACH-aligned architecture to enable faster innovation
    • Discover native REST APIs, WebView2 support, cloud-ready Azure licensing, and more to help transform and scale your IBM i applications

    Read more about V16 here.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    Maxava:  FREE Webinar: Test your DR without Downtime. September 12
    System i Developer:  Upgrade your skills at the RPG & DB2 Summit in Minneapolis, Oct 15-17.
    Linoma Software:  GoAnywhere Secure File Transfer. Simplify. Automate. Encrypt.

    More IT Jungle Resources:

    System i PTF Guide: Weekly PTF Updates
    IBM i Events Calendar: National Conferences, Local Events, and Webinars
    Breaking News: News Hot Off The Press
    TPM @ The Reg: More News From ITJ EIC Timothy Prickett Morgan

    Fall COMMON Conference Just One Month Away IBM Forms OpenPower Consortium, Breathes New Life Into Power

    Leave a Reply Cancel reply

Volume 13, Number 15 -- August 7, 2013
THIS ISSUE SPONSORED BY:

PowerTech
WorksRight Software
Profound Logic Software

Table of Contents

  • IFSPOP–Another (And A Better) IFS Interface
  • SQL and Invalid Decimal Data
  • Admin Alert: Budgeting For Your Next Power Systems Upgrade

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Liam Allan Shares What’s Coming Next With Code For IBM i
  • From Stable To Scalable: Visual LANSA 16 Powers IBM i Growth – Launching July 8
  • VS Code Will Be The Heart Of The Modern IBM i Platform
  • The AS/400: A 37-Year-Old Dog That Loves To Learn New Tricks
  • IBM i PTF Guide, Volume 27, Number 25
  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle